package chamber.echo;

import java.io.Console;

/**
 * Created by Gerardo on 1/21/14.
 */
public class Echo {
    public static void main(String[] args) {
        final Console console = System.console();
        if (console == null)
        {
            System.err.println("Cannot retrieve console object - are you running your app from an IDE? Exiting app...");
            System.exit(-1);
        }
        console.printf(console.readLine());
    }
}
